A bulky, but rather brainless pass at treating the important strings in
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 15 Sep 2013 05:41:21 +0000 (05:41 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 15 Sep 2013 05:41:21 +0000 (05:41 +0000)
commit782cae0203350ea381d35a39a0f59bf671ee0e7d
treeac7e2ac2bc9ed1c0d5ab5849dc6aceabc1773311
parente1d832a1776f91e4374860a6b33ec7f1e0bfe806
A bulky, but rather brainless pass at treating the important strings in
struct waypoint as a class instead of C string.  Of course, that struct
has one member - a C string - but this starts to hightlight the places
that are going to be problem areas for us.

With NEW_STRINGS turned on, we basically run, but suffer from a double
encoding of non-ascii strings.  Every format seems to be affected, so
it's probably in CET somewhere.  This isn't a QString thing in any obvious
way, as the underlying data types are still actually C Strings.

From here, additional passes can be made, either turning the individual
string pointer conversions off and whacking on a few files at a time or
going full money and making String a QString.

It does highlight the need for better vararg-style functions like warning,
fatal, and our debugging printfs to to know about stream operators.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4609 f51c46e8-681c-474f-0cfe-069cfd0219fb
42 files changed:
gpsbabel/an1.cc
gpsbabel/arcdist.cc
gpsbabel/bcr.cc
gpsbabel/cet_util.cc
gpsbabel/compegps.cc
gpsbabel/csv_util.cc
gpsbabel/defs.h
gpsbabel/delbin.cc
gpsbabel/destinator.cc
gpsbabel/dmtlog.cc
gpsbabel/garmin_gpi.cc
gpsbabel/garmin_txt.cc
gpsbabel/gbfile.cc
gpsbabel/gbfile.h
gpsbabel/gdb.cc
gpsbabel/gpx.cc
gpsbabel/html.cc
gpsbabel/humminbird.cc
gpsbabel/igc.cc
gpsbabel/ignrando.cc
gpsbabel/lowranceusr.cc
gpsbabel/lowranceusr4.cc
gpsbabel/magproto.cc
gpsbabel/mapsend.cc
gpsbabel/mmo.cc
gpsbabel/navilink.cc
gpsbabel/netstumbler.cc
gpsbabel/osm.cc
gpsbabel/ozi.cc
gpsbabel/pcx.cc
gpsbabel/pocketfms_wp.cc
gpsbabel/raymarine.cc
gpsbabel/route.cc
gpsbabel/text.cc
gpsbabel/tomtom.cc
gpsbabel/trackfilter.cc
gpsbabel/transform.cc
gpsbabel/unicsv.cc
gpsbabel/util.cc
gpsbabel/vcf.cc
gpsbabel/waypt.cc
gpsbabel/xol.cc